Important: These forums are for discussions between SkyDemon users. They are not routinely monitored by SkyDemon staff so any urgent issues should be sent directly to our Customer Support.

Skydemon 2.3 beta version posted 24 Jan 2012


Author
Message
srayne
srayne
Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)
Group: Forum Members
Posts: 388, Visits: 8.3K
Hi Tim,



The link to valid aircraft type designators on the flight plan dialog no longer works - it should now be http://www.icao.int/publications/DOC8643/Pages/Doc8643.aspx



srayne
srayne
Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)
Group: Forum Members
Posts: 388, Visits: 8.3K
Using Plan: Deleting the last leg of a route sometimes generates a null reference exception as below.





See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.



************** Exception Text **************

System.NullReferenceException: Object reference not set to an instance of an object.

at Divelements.Aviation.FlightPlanner.Rendering.x867d3d2864d7f7d1.xffabc7d9909662a2(RhumbLineLeg xb04e2e8e28f7f89c)

at Divelements.Aviation.FlightPlanner.Rendering.x867d3d2864d7f7d1.x8b7f44d8b525e3de(RhumbLineLeg xb04e2e8e28f7f89c)

at Divelements.Aviation.FlightPlanner.Rendering.x970ba8497cedc724.xeb8fe09714135083(Object x4bbc2c453c470189)

at Divelements.Aviation.FlightPlanner.Rendering.x970ba8497cedc724.set_x61d6011f1af9ff95(Object xbcea506a33cf9111)

at Divelements.Aviation.FlightPlanner.Rendering.x970ba8497cedc724.xee988e0f5cd5978b(Point xb9c2cfae130d9256)

at Divelements.Aviation.FlightPlanner.Rendering.x970ba8497cedc724.OnMouseMove(MouseEventArgs e)

at System.Windows.Forms.Control.WmMouseMove(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at Divelements.Aviation.FlightPlanner.Rendering.x5cf3c184e49e0afe.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)

at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)





************** Loaded Assemblies **************

mscorlib

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4216 (VistaSP2GDR.050727-4200)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

SkyDemon

Assembly Version: 2.2.1.28502

Win32 Version:

CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/SkyDemon.exe

----------------------------------------

Divelements.SandGrid

Assembly Version: 2.2.4.1

Win32 Version: 2.2.4.1

CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/Divelements.SandGrid.DLL

----------------------------------------

System.Windows.Forms

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4214 (VistaSP2GDR.050727-4200)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4215 (VistaSP2GDR.050727-4200)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Drawing

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

SandDock

Assembly Version: 3.0.6.1

Win32 Version: 3.0.6.1

CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/SandDock.DLL

----------------------------------------

Divelements.Aviation

Assembly Version: 1.0.4406.28500

Win32 Version: 1.0.4406.28500

CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/Divelements.Aviation.DLL

----------------------------------------

Divelements.Mapping

Assembly Version: 1.0.4406.28500

Win32 Version: 1.0.4406.28500

CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/Divelements.Mapping.DLL

----------------------------------------

System.Xml

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

SandBar

Assembly Version: 1.4.3.1

Win32 Version: 1.4.3.1

CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/SandBar.DLL

----------------------------------------

System.Configuration

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

OpenNETCF.Desktop.Communication

Assembly Version: 2.9.4071.29397

Win32 Version: 2.9.4071.29397

CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/OpenNETCF.Desktop.Communication.DLL

----------------------------------------

Tim Dawson
Tim Dawson
SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)
Group: Forum Members
Posts: 8.1K, Visits: 9.4K
Thanks, we've updated our link to ICAO.

The other issue you raise is very interesting, I've tried but haven't managed to reproduce it. Is there a specific set of steps that if I follow it enough, will show the fault?

srayne
srayne
Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)
Group: Forum Members
Posts: 388, Visits: 8.3K
Hi Tim,



Load the attached route (rename .txt to .flightplan)



Then click on the final leg of the route (eden project to newquay) to highlight it and press the 'del' key to remove the leg. Sometimes if this does not fail then right click on newquay and append it back to the route and delete the last leg again as described above this will always cause the exception within two or three attempts.



I've also added the aircraft file in case this is relevent.



Version 2.2.1.28502



Simon

Attachments
PA28R-200.txt (493 views, 1.00 KB)
Edited 1/25/2012 10:30:34 PM by srayne
nje
nje
Too Much Forum (46K reputation)Too Much Forum (46K reputation)Too Much Forum (46K reputation)Too Much Forum (46K reputation)Too Much Forum (46K reputation)Too Much Forum (46K reputation)Too Much Forum (46K reputation)Too Much Forum (46K reputation)Too Much Forum (46K reputation)
Group: Forum Members
Posts: 384, Visits: 4.2K
Good Morning, I just tried putting in any old route e.g. Sleap to Hawarden to Tatenhill and then deleted the last leg by highlighting and then pressing the delete key. ( I don't normally delete the legs in this way, I normally right click and do it that way) If you delete it by right clicking then there doesn't seem to be a problem. This is what I got 

 " Unhandled exception has occurred in your application. If you click on Continue the application will ignore the error and attempt to continue. If you click on quit the application will close immediately. Object reference not set to an instance of an object"

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Divelements.Aviation.FlightPlanner.Rendering.x867d3d2864d7f7d1.xffabc7d9909662a2(RhumbLineLeg xb04e2e8e28f7f89c)
   at Divelements.Aviation.FlightPlanner.Rendering.x867d3d2864d7f7d1.x8b7f44d8b525e3de(RhumbLineLeg xb04e2e8e28f7f89c)
   at Divelements.Aviation.FlightPlanner.Rendering.x970ba8497cedc724.xeb8fe09714135083(Object x4bbc2c453c470189)
   at Divelements.Aviation.FlightPlanner.Rendering.x970ba8497cedc724.set_x61d6011f1af9ff95(Object xbcea506a33cf9111)
   at Divelements.Aviation.FlightPlanner.Rendering.x970ba8497cedc724.xee988e0f5cd5978b(Point xb9c2cfae130d9256)
   at Divelements.Aviation.FlightPlanner.Rendering.x970ba8497cedc724.OnMouseMove(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseMove(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at Divelements.Aviation.FlightPlanner.Rendering.x5cf3c184e49e0afe.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
   at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
SkyDemon
    Assembly Version: 2.2.1.28502
    Win32 Version:
    CodeBase: file:///C:/Program%20Files%20(x86)/Divelements%20Limited/SkyDemon/SkyDemon.exe
----------------------------------------
Divelements.Aviation
    Assembly Version: 1.0.4406.28500
    Win32 Version: 1.0.4406.28500
    CodeBase: file:///C:/Program%20Files%20(x86)/Divelements%20Limited/SkyDemon/Divelements.Aviation.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Divelements.SandGrid
    Assembly Version: 2.2.4.1
    Win32 Version: 2.2.4.1
    CodeBase: file:///C:/Program%20Files%20(x86)/Divelements%20Limited/SkyDemon/Divelements.SandGrid.DLL
----------------------------------------
SandDock
    Assembly Version: 3.0.6.1
    Win32 Version: 3.0.6.1
    CodeBase: file:///C:/Program%20Files%20(x86)/Divelements%20Limited/SkyDemon/SandDock.DLL
----------------------------------------
Divelements.Mapping
    Assembly Version: 1.0.4406.28500
    Win32 Version: 1.0.4406.28500
    CodeBase: file:///C:/Program%20Files%20(x86)/Divelements%20Limited/SkyDemon/Divelements.Mapping.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
SandBar
    Assembly Version: 1.4.3.1
    Win32 Version: 1.4.3.1
    CodeBase: file:///C:/Program%20Files%20(x86)/Divelements%20Limited/SkyDemon/SandBar.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


 

Edited 1/26/2012 9:22:22 AM by nje
srayne
srayne
Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)Too Much Forum (49K reputation)
Group: Forum Members
Posts: 388, Visits: 8.3K
It doesn't even have to be the last leg of a route, I have found that I can reproduce the exception by deleting an intermediate leg using the click to highlight leg then 'del' key to delete leg.
Tim Dawson
Tim Dawson
SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)
Group: Forum Members
Posts: 8.1K, Visits: 9.4K
Thanks, we managed to reproduce the issue this morning and have made a change which should fix it. It certainly has in our tests.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Login

Explore
Messages
Mentions
Search